<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>vphy: xvphy_hdmi.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">vphy
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_14bc92f4b96c8519b376567118ac28b3.html">drivers</a></li><li class="navelem"><a class="el" href="dir_4cf835fb5483fbdcb0e67167565ecb14.html">vphy</a></li><li class="navelem"><a class="el" href="dir_45dd16d915814f4bf44046109f2a3b22.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xvphy_hdmi.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This driver supports the Xilinx Video PHY IP core.</p>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
----- ---- -------- -----------------------------------------------
1.0   vkd  10/19/15 Initial release.
</pre><p>This driver supports the Xilinx Video PHY IP core.</p>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
----- ---- -------- -----------------------------------------------
1.0   gm   10/19/15 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae51de602190f2058b30e0801deb13fa9"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="separator:ae51de602190f2058b30e0801deb13fa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0c73c2bc8e97b64dd7509cd3db6b39c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#ab0c73c2bc8e97b64dd7509cd3db6b39c">XVphy_HdmiCpllParam</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="separator:ab0c73c2bc8e97b64dd7509cd3db6b39c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaff661706441c4ab53c0e3b14b3bc52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#aeaff661706441c4ab53c0e3b14b3bc52">XVphy_TxAlignReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Reset)</td></tr>
<tr class="separator:aeaff661706441c4ab53c0e3b14b3bc52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17fb7c16e6806cc2b654d358c5ade050"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a17fb7c16e6806cc2b654d358c5ade050">XVphy_TxAlignStart</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Start)</td></tr>
<tr class="separator:a17fb7c16e6806cc2b654d358c5ade050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92a46534a86b99ee8952f265ffef6adf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a92a46534a86b99ee8952f265ffef6adf">XVphy_ClkDetEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="separator:a92a46534a86b99ee8952f265ffef6adf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58356dc6e862e4015623e9b67b7fb9ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a58356dc6e862e4015623e9b67b7fb9ab">XVphy_ClkDetTimerClear</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir)</td></tr>
<tr class="separator:a58356dc6e862e4015623e9b67b7fb9ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30848af87342051f772a8080f904337a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a30848af87342051f772a8080f904337a">XVphy_ClkDetSetFreqLockThreshold</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u16 ThresholdVal)</td></tr>
<tr class="separator:a30848af87342051f772a8080f904337a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c1a11ae34d28eb62747ac3e208c24ab"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a5c1a11ae34d28eb62747ac3e208c24ab">XVphy_ClkDetCheckFreqZero</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir)</td></tr>
<tr class="separator:a5c1a11ae34d28eb62747ac3e208c24ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e295c2b7225212e9f36ce42a6abe468"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a6e295c2b7225212e9f36ce42a6abe468">XVphy_ClkDetSetFreqTimeout</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u32 TimeoutVal)</td></tr>
<tr class="separator:a6e295c2b7225212e9f36ce42a6abe468"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af08e07cf3f25577c6bab5302453897f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#af08e07cf3f25577c6bab5302453897f3">XVphy_ClkDetTimerLoad</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u32 TimeoutVal)</td></tr>
<tr class="separator:af08e07cf3f25577c6bab5302453897f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d7adb703bf8d7039bb490890267100f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a6d7adb703bf8d7039bb490890267100f">XVphy_DruReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Reset)</td></tr>
<tr class="separator:a6d7adb703bf8d7039bb490890267100f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac049d6360551ee356c21f7f8e3c583ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#ac049d6360551ee356c21f7f8e3c583ac">XVphy_DruEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Enable)</td></tr>
<tr class="separator:ac049d6360551ee356c21f7f8e3c583ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6cd483fd9c888c3e5b9f716ccd311c7"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#aa6cd483fd9c888c3e5b9f716ccd311c7">XVphy_DruGetVersion</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="separator:aa6cd483fd9c888c3e5b9f716ccd311c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa09d59f3ae8499186a0e262a613cd141"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#aa09d59f3ae8499186a0e262a613cd141">XVphy_DruSetCenterFreqHz</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u64 CenterFreqHz)</td></tr>
<tr class="separator:aa09d59f3ae8499186a0e262a613cd141"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7aa7ca227f880fe0f77c4cbfe3d4cb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#ac7aa7ca227f880fe0f77c4cbfe3d4cb9">XVphy_DruSetGain</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 G1, u8 G1_P, u8 G2)</td></tr>
<tr class="separator:ac7aa7ca227f880fe0f77c4cbfe3d4cb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad88e970b83779757b2cf739b3aaeb9a9"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#ad88e970b83779757b2cf739b3aaeb9a9">XVphy_DruCalcCenterFreqHz</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="separator:ad88e970b83779757b2cf739b3aaeb9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f5275570d3771fb5ac18cbf2fbf642a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#a1f5275570d3771fb5ac18cbf2fbf642a">XVphy_HdmiGtDruModeEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="separator:a1f5275570d3771fb5ac18cbf2fbf642a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae15dd969c04b2c4fc7dd4266959af171"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__hdmi_8h.html#ae15dd969c04b2c4fc7dd4266959af171">XVphy_HdmiIntrHandlerCallbackInit</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="separator:ae15dd969c04b2c4fc7dd4266959af171"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a5c1a11ae34d28eb62747ac3e208c24ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XVphy_ClkDetCheckFreqZero </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function checks clock detector RX/TX frequency zero indicator bit. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- TRUE if zero frequency.<ul>
<li>FALSE otherwise, if non-zero frequency.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="a92a46534a86b99ee8952f265ffef6adf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_ClkDetEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the VPHY's detector peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>specifies TRUE/FALSE value to either enable or disable the clock detector respectively.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="a30848af87342051f772a8080f904337a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_ClkDetSetFreqLockThreshold </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>ThresholdVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the clock detector frequency lock counter threshold value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ThresholdVal</td><td>is the threshold value to be set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="a6e295c2b7225212e9f36ce42a6abe468"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_ClkDetSetFreqTimeout </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>TimeoutVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets clock detector frequency lock counter threshold value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">TimeoutVal</td><td>is the timeout value and is normally the system clock frequency.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="a58356dc6e862e4015623e9b67b7fb9ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_ClkDetTimerClear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function clears the clock detector TX/RX timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="af08e07cf3f25577c6bab5302453897f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_ClkDetTimerLoad </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>TimeoutVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function loads the timer to TX/RX in the clock detector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX. </td></tr>
    <tr><td class="paramname">TimeoutVal</td><td>is the timeout value to store in the clock detector.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ad88e970b83779757b2cf739b3aaeb9a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 XVphy_DruCalcCenterFreqHz </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates the center frequency value for the DRU. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> GT core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calculated DRU Center frequency value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>According to XAPP875: Center_f = fDIN * (2^32)/fdruclk The DRU clock is derived from the measured reference clock and the current QPLL settings. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#ade5f05b304aa05b950d87d47f80e4415">XVphy_Channel::RxOutDiv</a>, <a class="el" href="xvphy__hdmi_8c.html#ab0467bf2748fc0bed3b343a469ace134">XVphy_ClkDetGetRefClkFreqHz()</a>, and <a class="el" href="xvphy__hdmi_8c.html#a1560403a2fbe4ad437d011c276e25880">XVphy_DruGetRefClkFreqHz()</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam()</a>.</p>

</div>
</div>
<a class="anchor" id="ac049d6360551ee356c21f7f8e3c583ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_DruEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enabled/disables the DRU in the VPHY. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Enable</td><td>specifies TRUE/FALSE value to either enable or disable the DRU, respectively.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="aa6cd483fd9c888c3e5b9f716ccd311c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 XVphy_DruGetVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function gets the DRU version. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#ac33c4acc75ec57ab3d51e0f1391f1baf">XVphy_HdmiDebugInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="a6d7adb703bf8d7039bb490890267100f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_DruReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Reset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the DRU in the VPHY. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Reset</td><td>specifies TRUE/FALSE value to either enable or disable the DRU respectively.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#a2e9bd9101245bba02f36126695b9cf61">XVphy_HdmiGtRxResetDoneLockHandler()</a>, <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="aa09d59f3ae8499186a0e262a613cd141"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_DruSetCenterFreqHz </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u64&#160;</td>
          <td class="paramname"><em>CenterFreqHz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the DRU center frequency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>specifies the channel ID. </td></tr>
    <tr><td class="paramname">CenterFreqHz</td><td>is the frequency value to set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam()</a>.</p>

</div>
</div>
<a class="anchor" id="ac7aa7ca227f880fe0f77c4cbfe3d4cb9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_DruSetGain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>G1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>G1_P</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>G2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the DRU gain. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">G1</td><td>gain value. </td></tr>
    <tr><td class="paramname">G1_P</td><td>gain value. </td></tr>
    <tr><td class="paramname">G2</td><td>gain value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ab0c73c2bc8e97b64dd7509cd3db6b39c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_HdmiCpllParam </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates the CPLL parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDMI GT core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if calculated CPLL parameters updated successfully.</li>
<li>XST_FAILURE if parameters not updated.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#af548321a00c7220627ee6a34d930f103">XVphy_Config::DruIsPresent</a>, <a class="el" href="struct_x_vphy.html#acc8c8add92ab924f374bab01a466f7ee">XVphy::HdmiRxDruIsEnabled</a>, <a class="el" href="struct_x_vphy.html#a77176131b002d4f0d72af27d855c0316">XVphy::HdmiRxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#ae7cb0a20032e600f96b73666904caf2c">XVphy::HdmiRxTmdsClockRatio</a>, <a class="el" href="struct_x_vphy.html#a0155c11fa9df81437618a87b5a3a3058">XVphy::HdmiTxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#ab1e398020d830a916e367c4c02895615">XVphy::HdmiTxSampleRate</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#a1b4bb021bda1790f5bf3604dc28879e3">XVphy_Channel::RxDataWidth</a>, <a class="el" href="struct_x_vphy___channel.html#a8f32fae9936bac6e79c13d855a37fc43">XVphy_Channel::RxIntDataWidth</a>, <a class="el" href="xvphy_8c.html#ad5d2ef80f68b92db024b3e690d0c410e">XVphy_CfgLineRate()</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy_8c.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>, <a class="el" href="xvphy__hdmi_8c.html#a1560403a2fbe4ad437d011c276e25880">XVphy_DruGetRefClkFreqHz()</a>, and <a class="el" href="xvphy_8c.html#a7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded()</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam()</a>, and <a class="el" href="xvphy__hdmi_8c.html#afe03e6d04132bfe780efa1a2708ded64">XVphy_SetHdmiTxParam()</a>.</p>

</div>
</div>
<a class="anchor" id="a1f5275570d3771fb5ac18cbf2fbf642a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_HdmiGtDruModeEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the GT RX CDR and Equalization for DRU mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>enables the DRU logic (when 1), or disables (when 0).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ae15dd969c04b2c4fc7dd4266959af171"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_HdmiIntrHandlerCallbackInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the appropriate HDMI interupt handlers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the VPHY instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xvphy_8h.html#a56237326dcb3ef7cb3b346f7bf561486">XVphy_SetIntrHandler()</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ae51de602190f2058b30e0801deb13fa9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_HdmiQpllParam </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates the QPLL parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDMI GT core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if calculated QPLL parameters updated successfully.</li>
<li>XST_FAILURE if parameters not updated.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#af548321a00c7220627ee6a34d930f103">XVphy_Config::DruIsPresent</a>, <a class="el" href="struct_x_vphy.html#acc8c8add92ab924f374bab01a466f7ee">XVphy::HdmiRxDruIsEnabled</a>, <a class="el" href="struct_x_vphy.html#a77176131b002d4f0d72af27d855c0316">XVphy::HdmiRxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#ae7cb0a20032e600f96b73666904caf2c">XVphy::HdmiRxTmdsClockRatio</a>, <a class="el" href="struct_x_vphy.html#a0155c11fa9df81437618a87b5a3a3058">XVphy::HdmiTxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#ab1e398020d830a916e367c4c02895615">XVphy::HdmiTxSampleRate</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#a1b4bb021bda1790f5bf3604dc28879e3">XVphy_Channel::RxDataWidth</a>, <a class="el" href="struct_x_vphy___channel.html#a8f32fae9936bac6e79c13d855a37fc43">XVphy_Channel::RxIntDataWidth</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, <a class="el" href="xvphy_8c.html#ad5d2ef80f68b92db024b3e690d0c410e">XVphy_CfgLineRate()</a>, <a class="el" href="xvphy_8c.html#a3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel()</a>, <a class="el" href="xvphy_8c.html#a3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel()</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy_8c.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>, and <a class="el" href="xvphy__hdmi_8c.html#a1560403a2fbe4ad437d011c276e25880">XVphy_DruGetRefClkFreqHz()</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam()</a>, and <a class="el" href="xvphy__hdmi_8c.html#afe03e6d04132bfe780efa1a2708ded64">XVphy_SetHdmiTxParam()</a>.</p>

</div>
</div>
<a class="anchor" id="aeaff661706441c4ab53c0e3b14b3bc52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_TxAlignReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Reset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the GT TX alignment module. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Reset</td><td>specifies TRUE/FALSE value to either assert or deassert reset on the TX alignment module, respectively.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ab72b8270889de157c711c3502ad38104">XVphy_HdmiGtTxResetDoneLockHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a17fb7c16e6806cc2b654d358c5ade050"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_TxAlignStart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Start</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the GT TX alignment module. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Start</td><td>specifies TRUE/FALSE value to either start or ttop the TX alignment module, respectively.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ab72b8270889de157c711c3502ad38104">XVphy_HdmiGtTxResetDoneLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>

</div>
</div>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
